package com.aim.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author AIM
 * @Des 后台控制器
 * @DATE 2018/1/30
 */
@Controller
@RequestMapping("/admin")
public class AdminIndexController {

	/**
	 * @Des 首页
	 */
	@RequestMapping(value = {"", "/", "/index"})
	public String adminIndex() {
		return "admin/index";
	}

	/**
	 * @Des 控制台页面
	 */
	@RequestMapping("/info")
	public String adminInfo() {
		return "admin/info";
	}
}
